<template>
  <h1>嗨嗨害</h1>

  <p>{{ con }}</p>

  <button @click="add">+</button>
  <button @click="del">-</button>
  <zuJian :aaa="con"></zuJian>
</template>

<script setup>

import { ref } from 'vue';
import zuJian from "./components/zuJian.vue";

const con = ref(100);

const add = () => {
  con.value++
}
const del = () => {
  con.value--
}

</script>